<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>画三角形</title>
		<style type="text/css">
			#box1{
				/*width\height 内容宽度苟延残喘*/
				width: 10px;
				height: 10px;
				border-right: solid 80px transparent;
				border-top: solid 80px transparent;
				border-left: solid 80px transparent;
				border-bottom: solid 80px red;
			}
			#box2{
				width: 10px;
				height: 10px;
				background: red;
			}
		</style>
	</head>
	<body>
		<div id="box1">
		
		</div>
		</br>
		</br>
		</br>
		<div id="box2">
			
		</div>
	</body>
</html>
